variable "idc_code" {
    description = "(必填)数据中心"
    type = string
    default = "Datacenter-TEST"
}

variable "datastore" {
    description = "数据存储"
    type = string
    default = "datastore1"
}

variable "resource_pool" {
    description = "资源池"
    type = string
    default = "xiaohei-test"
}

variable "instance_name" {
    description = "主机名称"
    type = string
    default = "example-0816"
}

variable "network" {
    description = "网络"
    type = string
    default = "VM Network"
}

variable "image" {
    description = "操作系统"
    type = string
    default = ""
}

variable "domain" {
    description = "主机域"
    type = string
    default = "test.internal"
}

variable "cpu" {
    description = "虚拟机CPU配置"
    default = 8
}

variable "memory" {
    description = "虚拟机内存配置"
    default = 12288
}

variable "disk_label" {
    description = "系统盘标签"
    type        = list(any)
    default     = ["disk0"]
}


variable "data_disk_size_gb" {
    description = "数据盘大小列表"
    type = list
    default = ["120"]
}

variable "data_disk_label" {
    description = "数据盘标签"
    type = list
    default = []
}

variable "thin_provisioned" {
    description = "数据磁盘是否精简，默认是true"
    type = list
    default = null
}

variable "eagerly_scrub" {
    description = "数据磁盘空间是否清零"
    type = list
    default = null
}

variable "scsi_controller" {
    description = "系统磁盘控制器"
    type        = number
    default     = 0
}
variable "data_disk_scsi_controller" {
    description = "数据磁盘控制器"
    type        = list
    default     = []
}

variable "ips" {
    description = "虚拟机ip地址"
    type = string
    default = "10.0.200.206,10.0.200.207"
}

variable "netmask" {
    description = "子网掩码"
    type = string
    default = "16"
}

variable "gateway" {
    description = "网关"
    type = string
    default = "10.0.0.1"
}

variable "dns_server" {
    description = "DNS域名解析"
    type = list(string)
    default = ["10.0.0.1"]
}

variable "instance_number" {
    default = 2
    description = "创建实例数量"
}

variable "inventory" {
    description = "主机组名称"
    type = string
    default = "qfusion"
}

variable "ansible_ssh_pass" {
    description = "ansible ssh pass"
    type = string
    default = "Yunjikeji#2019"
}